<link href="/assets/home/css/index.css" rel="stylesheet" />
<!-- 轮播 -->
<div class="mui-content">
    <div class="swiper mySwiper">
        <div class="swiper-wrapper">
            {foreach $recommendlist as $item}
                <div class="swiper-slide">
                    <a href="{:url('home/subject/detail',['subid'=>$item.id])}">
                        <img src="{$item.thumbs_text}">
                        <p class="mui-slider-title">{$item.title}</p>
                    </a>
                </div>
            {/foreach}
        </div>
        <div class="swiper-pagination" style="text-align: right;"></div>
    </div>
</div>

<div class="mui-content">
    <h5 class="title">精选课程</h5>
    <ul class="mui-table-view mui-grid-view">
        {foreach $subjectlist as $item}
            <li class="mui-table-view-cell mui-media mui-col-xs-6">
                <a href="{:url('home/subject/detail',['subid'=>$item.id])}">
                    <div class="imgs">
                        <img class="mui-media-object" src="{$item.thumbs_text}">
                    </div>
                    <div class="mui-media-body">{$item.title}</div>
                </a>
            </li>
        {/foreach}
    </ul>
</div>

<div class="more">没有更多了..</div>

<!-- 引入公共底部 -->
{include file='common/footer' /}

<!-- 引入js文件 -->
{include file='common/script' /}